﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestApp.Flowchart;

namespace TestApp
{
    public class Singleton
    {
        private static Singleton mySingleton = null;

        private Singleton()
        {

        }

        public static Singleton Instance()
        {
            if (mySingleton == null)
                mySingleton = new Singleton();
            return mySingleton;
        }

        public string save_file_name = null;

        public bool isInTextBox = false;

        public List<ToolBoxItem> ToolBoxList;

        public string copy_object;
        public string copy_type;

        public List<Command> commandList = new List<Command>();
    }

    public class ToolBoxEntity {
        public List<ToolBoxItem> ToolBoxList { get; set; }
    }

    public class ToolBoxItem
    {
        public string Name { get; set; }
        public string FullName { get; set; }
        public string IconName { get; set; }
        public string DisplayName { get; set; }
        public string GroupName { get; set; }
    }
}
